package com.itany.cms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import com.itany.cms.entity.Comment;
import com.itany.cms.entity.Resource;
import com.itany.cms.exception.RequestParameterErrorException;
import org.springframework.web.multipart.MultipartFile;

public interface ResourceService {
    PageInfo<Resource> findByParams(Resource resourceParam, String pageNo, String pageSize);
    PageInfo<Resource> findDetail(Resource resourceParam, String pageNo, String pageSize);
    void modifyStatus(String id, String status) throws RequestParameterErrorException;
}
